package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 校园疫情数据
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-03-07 18:45:17
 */
@TableName("xiaoyuanyiqingshuju")
public class XiaoyuanyiqingshujuEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public XiaoyuanyiqingshujuEntity() {
		
	}
	
	public XiaoyuanyiqingshujuEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 标题
	 */
					
	private String biaoti;
	
	/**
	 * 封面图
	 */
					
	private String fengmiantu;
	
	/**
	 * 新增确诊
	 */
					
	private Integer xinzengquezhen;
	
	/**
	 * 累计确诊
	 */
					
	private Integer leijiquezhen;
	
	/**
	 * 新增治愈
	 */
					
	private Integer xinzengzhiyu;
	
	/**
	 * 累计治愈
	 */
					
	private Integer leijizhiyu;
	
	/**
	 * 新增死亡
	 */
					
	private Integer xinzengsiwang;
	
	/**
	 * 累计死亡
	 */
					
	private Integer leijisiwang;
	
	/**
	 * 更新时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date gengxinshijian;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：标题
	 */
	public void setBiaoti(String biaoti) {
		this.biaoti = biaoti;
	}
	/**
	 * 获取：标题
	 */
	public String getBiaoti() {
		return biaoti;
	}
	/**
	 * 设置：封面图
	 */
	public void setFengmiantu(String fengmiantu) {
		this.fengmiantu = fengmiantu;
	}
	/**
	 * 获取：封面图
	 */
	public String getFengmiantu() {
		return fengmiantu;
	}
	/**
	 * 设置：新增确诊
	 */
	public void setXinzengquezhen(Integer xinzengquezhen) {
		this.xinzengquezhen = xinzengquezhen;
	}
	/**
	 * 获取：新增确诊
	 */
	public Integer getXinzengquezhen() {
		return xinzengquezhen;
	}
	/**
	 * 设置：累计确诊
	 */
	public void setLeijiquezhen(Integer leijiquezhen) {
		this.leijiquezhen = leijiquezhen;
	}
	/**
	 * 获取：累计确诊
	 */
	public Integer getLeijiquezhen() {
		return leijiquezhen;
	}
	/**
	 * 设置：新增治愈
	 */
	public void setXinzengzhiyu(Integer xinzengzhiyu) {
		this.xinzengzhiyu = xinzengzhiyu;
	}
	/**
	 * 获取：新增治愈
	 */
	public Integer getXinzengzhiyu() {
		return xinzengzhiyu;
	}
	/**
	 * 设置：累计治愈
	 */
	public void setLeijizhiyu(Integer leijizhiyu) {
		this.leijizhiyu = leijizhiyu;
	}
	/**
	 * 获取：累计治愈
	 */
	public Integer getLeijizhiyu() {
		return leijizhiyu;
	}
	/**
	 * 设置：新增死亡
	 */
	public void setXinzengsiwang(Integer xinzengsiwang) {
		this.xinzengsiwang = xinzengsiwang;
	}
	/**
	 * 获取：新增死亡
	 */
	public Integer getXinzengsiwang() {
		return xinzengsiwang;
	}
	/**
	 * 设置：累计死亡
	 */
	public void setLeijisiwang(Integer leijisiwang) {
		this.leijisiwang = leijisiwang;
	}
	/**
	 * 获取：累计死亡
	 */
	public Integer getLeijisiwang() {
		return leijisiwang;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGengxinshijian(Date gengxinshijian) {
		this.gengxinshijian = gengxinshijian;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGengxinshijian() {
		return gengxinshijian;
	}

}
